﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NCAB.WF.Default" EnableEventValidation="false" %>

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>NetCorp | Login</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css" rel="stylesheet">

    <!-- Toastr style -->
    <link href="css/plugins/toastr/toastr.min.css" rel="stylesheet">

    <!-- Gritter -->
    <link href="js/plugins/gritter/css/jquery.gritter.css" rel="stylesheet" />

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">

    <link rel="shortcut icon" href="img/IconoNC.ico" />

    <!-- Mainly scripts -->
    <script src="js/jquery-2.1.1.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- Custom and plugin javascript -->
    <script src="js/ncab.js"></script>

    <!-- jQuery UI -->
    <script src="js/plugins/jquery-ui/jquery-ui.min.js"></script>

    <!-- GRITTER -->
    <script src="js/plugins/gritter/jquery.gritter.min.js"></script>
    <script src="js/plugins/toastr/toastr.min.js"></script>



    <script>
        toastr.options = { closeButton: true, progressBar: true, showMethod: 'slideDown', timeOut: 4000 };
        function notificacion(tipo, mensaje) {
            if (tipo == 'success') {
                toastr.success(mensaje, '<i>Success</i>');
            } else if (tipo == 'error') {
                toastr.error(mensaje, 'Error');
            } else if (tipo == 'warning') {
                toastr.warning(mensaje, 'Warning');
            } else {
                toastr.info(mensaje, 'Information');
            }
        }
    </script>
</head>

<body class="gray-bg">
    <div id="error_autenticacion" runat="server"></div>

    <asp:LoginView ID="HeadLoginView" runat="server">
        <AnonymousTemplate>
            <div class="middle-box text-center loginscreen animated fadeInDown">
                <div>
                    <div>
                        <img src="img/logo_grande.png" />
                    </div>
                    <%--<h3>Bienvenido a NetCorp Technologies</h3>--%>

                    <%--<p>Por favor ingrese los datos solicitados.</p>--%>
                    <form id="formLogin" class="m-t" role="form" runat="server">
                        <asp:ScriptManager runat="server"></asp:ScriptManager>
                        <div class="form-group">
                            <input id="inputUsuario" runat="server" type="text" class="form-control" placeholder="Usuario" required autofocus>
                        </div>
                        <div class="form-group">
                            <input id="inputPassword" runat="server" type="password" class="form-control" placeholder="Password" required>
                        </div>
                        <asp:Button class="btn btn-primary block full-width m-b" Text="Login" runat="server" OnClick="btnLogin_Click" />

                        <a href="#"><small>¿Olvidaste tu password?</small></a>
                    </form>
                    <p class="m-t"><small>NetCorp Technologies Inc. Panamá &copy; 2016</small> </p>
                </div>
            </div>
        </AnonymousTemplate>
    </asp:LoginView>
</body>

</html>
